package createThread.cn.tedu.threaddemo;

public class ThreadMethod {
    public static void main(String[] args) {
        Thread thread = Thread.currentThread();
        System.out.println(thread);
        dosome();
    }
    public static void dosome(){
        System.out.println("执行dosome的线程"+Thread.currentThread());
    }
}
